import App from './App'

// #ifndef VUE3
import Vue from 'vue'

import store from './store'  // 挂载store
Vue.prototype.$store = store


import './uni.promisify.adaptor'
// main.js
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
// main.js
import tabBar from 'components/tabBar/tabBar.vue'
Vue.component('tabBar',tabBar) //挂载
Vue.config.productionTip = false



Vue.prototype.websiteUrl = 'http://172.18.48.131:9527/';   //URL地址




App.mpType = 'app'
const app = new Vue({
	store,
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif